//
//  CGRemindCollectionViewCell.m
//  CookingGarden
//
//  Created by lanou on 15/10/26.
//  Copyright (c) 2015年 lanou. All rights reserved.
//

#import "CGRemindCollectionViewCell.h"

@implementation CGRemindCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
        _linkImageView = [[UIImageView alloc] initWithFrame:CGRectMake(30, 0, SCREEN_WIDTH / 2 - 17, 150)];
        _linkImageView.backgroundColor = [UIColor blackColor];
        [self.contentView addSubview:_linkImageView];
        
        _titleLable = [[UILabel alloc] initWithFrame:CGRectMake(40, 155, SCREEN_WIDTH / 2 - 37, 20)];
        _titleLable.backgroundColor = [UIColor blackColor];
        [self.contentView addSubview:_titleLable];
        
        _lineView = [[UIView alloc] initWithFrame:CGRectMake(SCREEN_WIDTH / 2, 178, 10, 1)];
        _lineView.backgroundColor = [UIColor greenColor];
        [self.contentView addSubview:_lineView];
    }
    
    return self;
}
@end
